set(ProjectName "NFGamePluginFish")
file(GLOB NFGamePluginFish_ROOT_Cpp
	*.cpp)

file(GLOB NFGamePluginFish_ROOT_Hpp 
	*.h)


add_library(NFGamePluginFish STATIC
	${NFGamePluginFish_ROOT_Cpp}
	${NFGamePluginFish_ROOT_Hpp})


set_target_properties( NFGamePluginFish PROPERTIES OUTPUT_NAME_DEBUG "NFGamePluginFish")
set_target_properties( NFGamePluginFish PROPERTIES PREFIX "")
set_target_properties( NFGamePluginFish PROPERTIES 
	FOLDER "NFServer/GameServer"
	ARCHIVE_OUTPUT_DIRECTORY ${NFOutPutDir}
	RUNTIME_OUTPUT_DIRECTORY ${NFOutPutDir}
	LIBRARY_OUTPUT_DIRECTORY ${NFOutPutDir} )
link_NFSDK("NFGamePluginFish")

if(UNIX)
	target_link_libraries(NFGamePluginFish -static-libstdc++)
	add_definitions(
		-D_USRDLL
		-DELPP_NO_DEFAULT_LOG_FILE
	)
else()
	target_link_libraries(NFGamePluginFish -static-libstdc++)
	add_definitions(
		-DWIN
		-D_USRDLL
		-DELPP_NO_DEFAULT_LOG_FILE
	)
endif()